package com.goods.business.service;

import com.github.pagehelper.IPage;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.business.ProductCategoryVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.MenuNodeVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

public interface CategoryService {



    //主页显示的分类树
    List<ProductCategoryTreeNodeVO> getCategoryListTree();

    //添加分类
    void add(ProductCategoryVO productCategoryVO);

    //加载父级分类数据
    List<ProductCategoryTreeNodeVO> getParentCategoryTree();

    //打开修改页面弹出框,并且回显数据
    ProductCategoryVO getEdit(Long id);

    //修改信息
    void edit(ProductCategoryVO productCategoryVO);

    //删除分类
    void delete(Long id);

}
